## manager 测试

### 1. inference
curl -X POST http://localhost:8090/api/inference \
-H "Content-Type: application/json" \
-d '{
    "filePath": "/workspace/cimage_path1/db2000108.jpg",
    "dataType": "01"
}'

### 2. inferenceBatch
curl -X POST http://localhost:8090/api/inferenceBatch \
-H "Content-Type: application/json" \
-d '{
    "file": "/workspace/cimage_path1",
    "dataType": "01"
}'

### 3. getFileByPath
curl -X POST http://localhost:8090/api/getFileByPath \
-H "Content-Type: application/json" \
-d '{
    "filePath": "/workspace/cimage_path1/db2000108.jpg"
}'

## inference-server 测试

### 1. inference
curl -X POST http://172.18.116.37:8000/damo -H "Content-Type: application/json"  -d '{   "File_path": "/workspace/cimage_path1/db2000108.jpg"}'

### 2. inferenceBatch
curl -X POST http://172.18.116.37:8000/demobatch -H "Content-Type: application/json"  -d '{  "Flag": "01","File_path": "/workspace/cimage_path1" }'
#### 边侧全部推理
curl -X POST http://{side_inference_server}:8000/demobatch -H "Content-Type: application/json"  -d '{  "Flag": "01","File_path": "/workspace/imagesbatch" }'
#### 云边协同(边侧优先)
curl -X POST http://{side_inference_server}:8000/demobatch -H "Content-Type: application/json"  -d '{  "Flag": "02","File_path": "/workspace/cimage_path1" }'
curl -X POST http://{cloud_inference_server}:8000/demobatch -H "Content-Type: application/json"  -d '{  "Flag": "03","File_path": "/workspace/simage_path1" }'
#### 云边协同(云侧优先)
curl -X POST http://{cloud_inference_server}:8000/demobatch -H "Content-Type: application/json"  -d '{  "Flag": "03","File_path": "/workspace/imagesbatch" }'

### 3. getFileByPath
curl -X POST http://172.18.116.37:8000/getFileByPath -H "Content-Type: application/json"  -d '{  "File_path": "/workspace/cimage_path1/db2000108.jpg" }'
curl -X POST http://172.18.116.37:8000/getFileByPath -H "Content-Type: application/json"  -d '{  "File_path": "/workspace/cimage_path1/output/db2000043.jpg" }'
curl -X POST http://172.18.116.37:8000/getFileByPath -H "Content-Type: application/json"  -d '{  "File_path": "/workspace/cimage_path1/output/db2000043.jpg" }'

## evo-client 测试

### 1. 启动模型训练
curl -X POST http://localhost:8092/api/trainer/train -H "Content-Type: application/json"  -d '{  "max_iter": 1000, "C": 1.0, "random_state": 42 }'

### 2. 获取训练状态
curl -X GET http://localhost:8092/api/trainer/status

### 3. 获取训练指标
curl -X GET http://localhost:8092/api/trainer/metrics

